Smush\Core\Modules\Smush D

Total Complexity 226
Dependencies 4
Dependents 8
Total lines 1,305
Lines of code 613
Logical lines of code 395
Comment lines 511
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
resize_from_meta_data()
D
32 34 88
smushit()
D
31 33 98
do_smushit()
B
36 23 70
_post()
B
36 21 73
wp_smush_handle_editor_async()
B
47 17 32
smush_single()
A
47 13 31
update_lists()
A
57 9 15
update_super_smush_count()
S
56 7 17
calculate_percentage()
S
58 7 14
add_api_message()
S
57 6 17
update_resmush_list()
S
58 6 15
smush_image()
S
60 6 12
dismiss_update_info()
S
62 6 11
calculate_percentage_from_stats()
S
61 5 12
show_warning()
S
62 5 12
add_scaled_to_meta()
S
60 4 12
fix_ssl_ca_certificate_error()
S
63 4 12
skip_image_size()
S
63 4 10
delete_images()
S
61 3 13
resize_image()
S
70 3 6
wp_smush_handle_async()
S
70 3 6
no_smushit()
S
74 2 4
is_auto_smush_enabled()
S
69 2 7
get_size_signature()
S
67 1 9
array_fill_placeholders()
S
66 1 8
init()
S
63 1 9